
h1,h2,h3,h4,h5,h6,p,ul,li,div{
    margin: 0;
    padding: 0; 
}
ul,li{
    list-style: none;
}
body,html{
    height: 100%;
}

.w{
    width: 1190px;
    margin: 0 auto;
}
.head{
    height: 36px;
    width: 100%;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;

    .w{
        height: 36px;
        display: flex;
        justify-content: space-between;

        .list1{
            width: 370px;
            height: 36px;
            display: flex;
            justify-content: space-between;


            li a{
                font-size: 12px;
                line-height: 36px;
                font-weight: 400;
                text-decoration: none;
                color: #6c6c6c;
                
            }
            li:first-child >span{
                margin-left: 15px;
                color: #6c6c6c;
            }

            li:nth-child(2) a{
                color: #f22e00 ;
            }

            li:hover a{
                color: #f22e00 ;
            }
        }

        .list2{
            width: 560px;
            display: flex;
            justify-content: space-between;

            li>a{
                font-size: 12px;
                line-height: 36px;
                font-weight: 400;
                text-decoration: none;
                color: #6c6c6c;
            }

            i{
                color: #6c6c6c;
                font-size: 12px;
                cursor: pointer;
            }

            li:nth-child(2) i{
                color: #f22e00 ;
            }

            li:nth-child(1) span, li:nth-child(6) span,li:nth-child(7) span{
                margin-left: 10px ;
                color: #6c6c6c;
            }

            li:hover a{
                color: #f22e00 ;
            }

            li:hover i{
                color: #f22e00 ;
            }
        }
    }
}

.search{
    width: 100%;
    height: 60px;
    margin-top: 22px;

    .w{
        height: 60px;
        display: flex;

        .logo{
            width: 105px;
            height: 43px;
            >a{
                display: block;
                width: 105px;
                height: 43px;
                background: url(./imges/logo.png) no-repeat;
                background-size: contain;
            }
        }

        .inputbox{
            width: 681px;
            height: 35px;
            border: solid 2px #f50;
            border-right: none;
            margin-left: 300px;
            display: flex;
            position: relative;

            >a{
                display: block;
                width: 67px;
                height: 31px;
                background-color: #f5f5f5;
                color: #6b6b6b;
                font-size: 12px;
                line-height: 30px;
                text-align: center;
                letter-spacing: 1px;
            }

            >input{
                border: none;
                outline: none;
                width: 530px;
                height: 31px;
                vertical-align: top;
            }
            >button{
                width: 80px;
                height: 35px;
                background-color: #f22e00;
                cursor: pointer;
                font-size: 16px;
                color: #fff;
                font-weight: 600;
                border: none;
                position: absolute;
                top: -1.5px;
                right: 0;
               
            }
        }
    }

}
.main{
    width: 100%;

    .w{
        .main-nav{
            width: 940px;
            height: 41px;
            display: flex;
            border: 1px solid #eee;
    
            ul{
                width: 285px;
                height: 39px;
                display: flex;
                background-color: #f5f5f5;
    
                >li a{
                    
                    display: block;
                    width: 64px;
                    height: 39px;
                    line-height: 39px;
                    text-align: center;
                    font-size: 12px;
                    font-weight: 300;
                    color: #333;
                    text-decoration: none;
                }
                >li:first-child a{
                    background-color: #fff;
                    width: 87px;
                }
            }
            >div{
                width: 130px;
                height: 39px;
                display: flex;
                line-height: 39px;
                margin-left: 50px;

                input{
                    border:1px solid #ccc;
                    outline: none;
                    width: 55px;
                    height: 23px;
                    margin-top: 10px;
                    margin-left: 20px;
                    margin-right: 15px;
                }
            }
            
        }

        .main-list{
            width: 100%;
            margin-top: 30px;

            .like-list{
                width: 100%;
                // height: 319px;
                margin-bottom: 8px;
                display: flex;
                flex-wrap: wrap;
                box-sizing: content-box;
    
                >li{
                    width: 215px;
                    height: 319px;
                    margin-left: 7px;
                    margin-bottom: 2px;
                    padding:7px 7px 0 7px;
                    box-sizing: content-box;
                   
                    >img{
                        width: 215px;
                        height: 215px;
                        border-radius: 12px;
                        display: block;
                    }
                    >h4{
                        margin-top: 9px;
                        line-height: 22px;
                        height: 44px;
                        font-size: 16px;
                        color: #111111;
                        font-weight: normal;
                        transition: color 0.3s;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
    
                    }
                    
    
                    span{
                        display: inline-block;
                        color: #F40;
                        font-size: 20px;
                        height: 22px;
                        line-height: 22px;
                        margin-top: 10px;
    
                        em{
                            font-size: 12px;
                        }
                    }

                    .detailBtn{
                        display: inline-block;
                        width: 70px;
                        height: 25px;
                        background-color: #F40;
                        font-size: 14px;
                        color: #fff;
                        text-align: center;
                        line-height: 25px;
                        margin-left: 30px;
                        margin-top: 5px;
                        border: none;
                        text-decoration: none;
                    }
    
                }
    
                li:hover{
                   
                    box-shadow: 0 19px 39px 0 rgb(0 0 0 / 12%);
                    background-color: #fff;
                    border-radius: 12px;
                }
                li:hover h4{
                    color: #ff6f06;
                }
    
            }
        }
    }
    
    
}

.pagination{
    width: 800px;
    height: 50px;
    border:1px solid red;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:20px auto;
}

.footer{
    height: 320px;
    width: 100%;
    background-color: #fff;
    margin-top: 30px;

    .w{
        height: 320px;

        >img{
            width: 1190px;
            height: 320px;
            margin-top: 30px;
        }
    }
}